package com.haixiaoke.domain;

import com.haixiaoke.common.annotation.Excel;
import com.haixiaoke.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 智能锁告警日志对象 biz_lock_warning_log
 *
 * @author qixi
 * @date 2023-05-27
 */
@Data
public class LockWarningLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 天网互联品牌信息
     */
    public static final Long TWHL_BRAND_ID = 2L;
    public static final String TWHL_BRAND_NAME = "天网互联";
    public static final Long TWHL_BRAND_MODEL_ID = 2L;
    public static final String TWHL_BRAND_MODEL_NAME = "v4";

    /**
     * 优电品牌信息
     */
    public static final Long YD_BRAND_ID = 3L;
    public static final String YD_BRAND_NAME = "优电";
    public static final Long YD_BRAND_MODEL_ID = 3L;
    public static final String YD_BRAND_MODEL_NAME = "NB-700";

    /**
     * 亚略特品牌信息
     */
    public static final Long YLT_BRAND_ID = 1L;
    public static final String YLT_BRAND_NAME = "亚略特";
    public static final Long YLT_BRAND_MODEL_ID = 1L;
    public static final String YLT_BRAND_MODEL_NAME = "v3";

    /**
     * 嗨小克品牌信息
     */
    public static final Long HXK_BRAND_ID = 4L;
    public static final String HXK_BRAND_NAME = "嗨小克";
    public static final Long HXK_BRAND_MODEL_ID = 4L;
    public static final String HXK_BRAND_MODEL_NAME = "HXK";

    /**
     * 慧享佳品牌信息
     */
    public static final Long HXJ_BRAND_ID = 5L;
    public static final String HXJ_BRAND_NAME = "慧享佳";
    public static final Long HXJ_BRAND_MODEL_ID = 5L;
    public static final String HXJ_BRAND_MODEL_NAME = "HXJ";

    /**
     * 告警记录id
     */
    private Long warningLogId;


    /**
     * 智能锁sn
     */
    @Excel(name = "智能锁SN")
    private String lockSn;

    /**
     * 告警类型: 1：撞击报警 2：低电量 3：撬锁报警 5：长时间未关
     * 6：蓝牙cookie错误 8：非法开门报警 9：密码错误自锁报警 10：假锁
     */
    @Excel(name = "告警类型", dictType = "dict_alarm")
    private Integer warningType;


    /**
     * 品牌id
     */
    private Long brandId;

    /**
     * 品牌名称
     */
    @Excel(name = "品牌名称")
    private String brandName;

    /**
     * 型号id
     */
    private Long modelId;

    /**
     * 型号名称
     */
    @Excel(name = "型号名称")
    private String modelName;

    /**
     * 告警图片
     */
    @Excel(name = "告警图片")
    private String warningImage;
}
